package com.csdj.hzx.mapper;

import com.csdj.hzx.pojo.UserMesCriteria;
import com.lww.springcloudapi.pojo.TabHallSetmeal;
import com.lww.springcloudapi.pojo.TabHallUserbill;
import com.lww.springcloudapi.pojo.TabHallUsermessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMesMapper {
    TabHallUsermessage findByUserId(String userid);

    List<TabHallUserbill> findAllCouFei(UserMesCriteria cr);

    TabHallSetmeal findTcanTable(@Param("userid") String userid);

    int selectUserBillCount(@Param("pnumber") String pnumber);
}
